package com.gljx.web.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.gljx.web.Entity.SubjectThreeRegentry;
import org.springframework.stereotype.Component;


@Component
public interface SubjectThreeRegentryMapper {
    int deleteByPrimaryKey(String fid);

    int insert(SubjectThreeRegentry record);

    int insertSelective(SubjectThreeRegentry record);

    SubjectThreeRegentry selectByPrimaryKey(String fid);

    int updateByPrimaryKeySelective(SubjectThreeRegentry record);

    int updateByPrimaryKey(SubjectThreeRegentry record);
    /**
     * 根据父类id查找子类信息
     * @param fid
     * @return
     */
    List<SubjectThreeRegentry> selSubjectThreeRegentryByParentId(@Param("fid")String fid,@Param("studentName")String studentName);
    
    SubjectThreeRegentry  selSharCarThreeRegBySutid(@Param("lcsjid")String lcsjid,@Param("studentid")String studentid);

    List<SubjectThreeRegentry> selChangeCarThreeRegBySutid(@Param("lcsjid") String lcsjid, @Param("studentid") String studentid);
    
    int deleteByParentId(String parentid);
}